package cn.taoticket.client;
import cn.taoticket.pojo.TaoticketOrderLinkUser;

import cn.taoticket.fallback.TaoticketOrderLinkUserClientFallBack;
import java.util.List;
import java.util.Map;

import cn.taoticket.config.TaoTicketConfiguration;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RequestBody;
/**
* Created by shang-pc on 2018/5/15.
*/
@FeignClient(name = "taoticket-order-provider", configuration = TaoTicketConfiguration.class, fallback = TaoticketOrderLinkUserClientFallBack.class)
public interface RestTaoticketOrderLinkUserClient {
@RequestMapping(value = "/getTaoticketOrderLinkUserById",method = RequestMethod.POST)
public TaoticketOrderLinkUser getTaoticketOrderLinkUserById(@RequestParam("id") Long id)throws Exception;

@RequestMapping(value = "/getTaoticketOrderLinkUserListByMap",method = RequestMethod.POST)
public List<TaoticketOrderLinkUser>	getTaoticketOrderLinkUserListByMap(@RequestParam Map<String,Object> param)throws Exception;

@RequestMapping(value = "/getTaoticketOrderLinkUserCountByMap",method = RequestMethod.POST)
public Integer getTaoticketOrderLinkUserCountByMap(@RequestParam Map<String,Object> param)throws Exception;

@RequestMapping(value = "/qdtxAddTaoticketOrderLinkUser",method = RequestMethod.POST)
public Integer qdtxAddTaoticketOrderLinkUser(@RequestBody TaoticketOrderLinkUser taoticketOrderLinkUser)throws Exception;

@RequestMapping(value = "/qdtxModifyTaoticketOrderLinkUser",method = RequestMethod.POST)
public Integer qdtxModifyTaoticketOrderLinkUser(@RequestBody TaoticketOrderLinkUser taoticketOrderLinkUser)throws Exception;
}

